package org.wu.reggie.entity;


import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 购物车
 */
@Data
public class ShoppingCart implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;//主键
    private String name;//名称
    private String image;//图片
    private Long userId;//用户主键id
    private Long dishId;//菜品主键id
    private Long setmealId;//套餐主键id
    private String dishFlavor;//口味
    private Integer number;//数量
    private BigDecimal amount;//金额
    private LocalDateTime createTime;//创建购物车的时间


}
